package com.liu.nb.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liu.nb.entity.DebugtaskPole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.nb.entity.Patroltask;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 消缺任务和塔杆中间表 Mapper 接口
 * </p>
 *
 * @author liuziyi
 * @since 2021-08-31
 */
@Mapper
@Repository
public interface DebugtaskPoleMapper extends BaseMapper<DebugtaskPole> {

    public DebugtaskPole getOneDeBugTask(String id);

    public List<DebugtaskPole> getOneDeBugTaskAll(String id);

    public IPage<DebugtaskPole> getPatrolTaskBug(Page<DebugtaskPole> page,String id, String cid, Integer state, LocalDateTime firstTime, LocalDateTime lastTime);

}
